package com.example.webmodule.config;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OpenApiConfig {
    public OpenAPI openAPI() {
        // http://服务地址:端口号/v3/api-docs
        return new OpenAPI().info(new Info().title("Server API").version("1.0"));
    }
}
